import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { CostRoutingModule } from './cost-routing.module';
import { CostAccountComponent } from './account/account.component';
import { CostOfflineComponent } from './offline/offline.component';
import { CostOfflineEditComponent } from './offline/edit/edit.component';
import { CostOnlineComponent } from './online/online.component';
import { CostOnlineEditComponent } from './online/edit/edit.component';

const COMPONENTS = [
  CostAccountComponent,
  CostOfflineComponent,
  CostOnlineComponent];
const COMPONENTS_NOROUNT = [
  CostOfflineEditComponent,
  CostOnlineEditComponent
];

@NgModule({
  imports: [
    SharedModule,
    CostRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class CostModule { }
